GoDiagram Win Reference
AddLink(IGoLink) Method

This convenience method takes a Northwoods.Go.GoObject implementing Northwoods.Go.IGoLink, and returns a GoLayoutGenericNetwork.Link<N,L,Y> that has been added to this network.
Syntax
'Declaration
 
Public Overloads Function AddLink( _
   ByVal ilink As IGoLink _
) As L
public L AddLink( 
   IGoLink ilink
)

Parameters

ilink

Return Value

Remarks
If FindLink returns null, this method creates a new GoLayoutGenericNetwork.Link<N,L,Y>, makes sure the Northwoods.Go.IGoLink.FromNode and Northwoods.Go.IGoLink.ToNode have corresponding GoLayoutGenericNetwork.Node<N,L,Y>s in the network, and adds the link itself to the network.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoLayoutGenericNetwork<N,L,Y> Class
GoLayoutGenericNetwork<N,L,Y> Members
Overload List

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback